package cn.tedu.smartos.family_user.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class FamilyElderlyRelation {
    @ApiModelProperty(value = "关系ID")
    private Long relationId;
    @ApiModelProperty(value = "家属用户ID")
    private Long familyUserId;
    @ApiModelProperty(value = "老人用户ID")
    private Long elderlyUserId;
    @ApiModelProperty(value = "关系类型：子女/配偶/亲戚等")
    private String relationType;
    @ApiModelProperty(value = "是否主要联系人：0-否，1-是")
    private Integer isPrimary;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
}
